from django.contrib import admin

# Register your models here.
from .models import Article
# 创建配置类
class ArticleAdmin(admin.ModelAdmin):
  list_display = ('title', 'content', 'create_time')
  list_filter = ('create_time',)
  pass

admin.site.register(Article, ArticleAdmin)